package com.czx.service.impl;

import net.sf.cglib.core.Signature;
import net.sf.cglib.proxy.MethodInterceptor;
import net.sf.cglib.reflect.FastClass;

import java.lang.reflect.InvocationTargetException;

/* compiled from: <generated> */
public class IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e$$FastClassByCGLIB$$19bf2581 extends FastClass {
    public IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e$$FastClassByCGLIB$$19bf2581(Class cls) {
        super(cls);
    }

    public int getIndex(String str, Class[] clsArr) {
        switch (str.hashCode()) {
            case -772020714:
                if (str.equals("CGLIB$m$0")) {
                    switch (clsArr.length) {
                        case 0:
                            return 26;
                        default:
                            break;
                    }
                }
                break;
            case -772020713:
                if (str.equals("CGLIB$m$1")) {
                    switch (clsArr.length) {
                        case 2:
                            if (clsArr[0].getName().equals("int") && clsArr[1].getName().equals("int")) {
                                return 23;
                            }
                        default:
                            break;
                    }
                }
                break;
            case 109:
                if (str.equals("m")) {
                    switch (clsArr.length) {
                        case 0:
                            return 7;
                        case 2:
                            if (clsArr[0].getName().equals("int") && clsArr[1].getName().equals("int")) {
                                return 8;
                            }
                        default:
                            break;
                    }
                }
                break;
            case 3529469:
                if (str.equals("show")) {
                    switch (clsArr.length) {
                        case 0:
                            return 11;
                        case 2:
                            if (clsArr[0].getName().equals("java.lang.String") && clsArr[1].getName().equals("int")) {
                                return 10;
                            }
                        default:
                            break;
                    }
                }
                break;
            case 495524492:
                if (str.equals("setCallbacks")) {
                    switch (clsArr.length) {
                        case 1:
                            if (clsArr[0].getName().equals("[Lnet.sf.cglib.proxy.Callback;")) {
                                return 12;
                            }
                            break;
                        default:
                            break;
                    }
                }
                break;
            case 517345998:
                if (str.equals("CGLIB$show$2")) {
                    switch (clsArr.length) {
                        case 0:
                            return 20;
                        default:
                            break;
                    }
                }
                break;
            case 517345999:
                if (str.equals("CGLIB$show$3")) {
                    switch (clsArr.length) {
                        case 2:
                            if (clsArr[0].getName().equals("java.lang.String") && clsArr[1].getName().equals("int")) {
                                return 19;
                            }
                        default:
                            break;
                    }
                }
                break;
            case 1154623345:
                if (str.equals("CGLIB$findMethodProxy")) {
                    switch (clsArr.length) {
                        case 1:
                            if (clsArr[0].getName().equals("net.sf.cglib.core.Signature")) {
                                return 18;
                            }
                            break;
                        default:
                            break;
                    }
                }
                break;
            case 1817099975:
                if (str.equals("setCallback")) {
                    switch (clsArr.length) {
                        case 2:
                            if (clsArr[0].getName().equals("int") && clsArr[1].getName().equals("net.sf.cglib.proxy.Callback")) {
                                return 9;
                            }
                        default:
                            break;
                    }
                }
                break;
        }
        return -1;
    }

    /**
     * 通过签名计算hash值获取索引
     * @param signature
     * @return
     */
    public int getIndex(Signature signature) {
        String obj = signature.toString();
        switch (obj.hashCode()) {
            case -1135202757:
                if (obj.equals("m(II)I")) {
                    return 8;
                }
                break;
            case -789603912:
                if (obj.equals("m()Ljava/lang/String;")) {
                    return 7;
                }
                break;
            case -686210351:
                if (obj.equals("CGLIB$m$1(II)I")) {
                    return 23;
                }
                break;
            case -623122092:
                if (obj.equals("CGLIB$findMethodProxy(Lnet/sf/cglib/core/Signature;)Lnet/sf/cglib/proxy/MethodProxy;")) {
                    return 18;
                }
                break;
            case -455442829:
                if (obj.equals("CGLIB$show$3(Ljava/lang/String;I)V")) {
                    return 19;
                }
                break;
            case -419626537:
                if (obj.equals("setCallbacks([Lnet/sf/cglib/proxy/Callback;)V")) {
                    return 12;
                }
                break;
            case -107098079:
                if (obj.equals("show(Ljava/lang/String;I)V")) {
                    return 10;
                }
                break;
            case -67039007:
                if (obj.equals("CGLIB$m$0()Ljava/lang/String;")) {
                    return 26;
                }
                break;
            case 1912008167:
                if (obj.equals("CGLIB$show$2()V")) {
                    return 20;
                }
                break;
            case 2067235672:
                if (obj.equals("show()V")) {
                    return 11;
                }
                break;
        }
        return -1;
    }

    public int getIndex(Class[] clsArr) {
        switch (clsArr.length) {
            case 0:
                return 0;
            default:
                return -1;
        }
    }

    public int getMaxIndex() {
        return 26;
    }

    /**
     * 调用索引对应代理类中的方法
     * @param i
     * @param obj
     * @param objArr
     * @return
     */
    public Object invoke(int i, Object obj, Object[] objArr) {
        IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e = (IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e) obj;
        switch (i) {
            case 7:
                return indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.m();
            case 8:
                return new Integer(indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.m(((Number) objArr[0]).intValue(), ((Number) objArr[1]).intValue()));
            case 10:
                indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.show((String) objArr[0], ((Number) objArr[1]).intValue());
                return null;
            case 11:
                indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.show();
                return null;
            case 12:
                indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.setCallbacks((MethodInterceptor)objArr[0]);
                return null;
            case 18:
                return indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$findMethodProxy((Signature) objArr[0]);
            case 19:
                indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$show$3((String) objArr[0], ((Number) objArr[1]).intValue());
                return null;
            case 20:
                indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$show$2();
                return null;
            case 23:
                return new Integer(indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$m$1(((Number) objArr[0]).intValue(), ((Number) objArr[1]).intValue()));
            case 26:
                return indexServiceImpl$$EnhancerByCGLIB$$9ff22e8e.CGLIB$m$0();
            default:
                throw new IllegalArgumentException("Cannot find matching method/constructor");
        }
    }

    public Object newInstance(int i, Object[] objArr) throws InvocationTargetException {
        switch (i) {
            case 0:
                try {
                    return new IndexServiceImpl$$EnhancerByCGLIB$$9ff22e8e();
                } catch (Throwable th) {
                    InvocationTargetException invocationTargetException = new InvocationTargetException(th);
                }
            default:
                throw new IllegalArgumentException("Cannot find matching method/constructor");
        }
    }
}